<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Minkowski's question-mark function</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Minkowski's_question-mark_function"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.math.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Minkowski_s_question-mark_function rootpage-Minkowski_s_question-mark_function skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Minkowski's question-mark function</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<p class="mw-empty-elt">
</p>
<style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */
.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style>
<span class="skin-invert"></span>
<span class="skin-invert"></span>
<p>In <a href="Mathematics" title="Mathematics">mathematics</a>, <b>Minkowski's question-mark function</b>, denoted <span class="texhtml texhtml-big" style="font-size:120%;">?(<i>x</i>)</span>, is a <a href="Function_(mathematics)" title="Function (mathematics)">function</a> with unusual <a href="Fractal" title="Fractal">fractal</a> properties, defined by <a href="Hermann_Minkowski" title="Hermann Minkowski">Hermann Minkowski</a> in 1904.<sup id="cite_ref-FOOTNOTEMinkowski1904171–172_1-0" class="reference"><a href="#cite_note-FOOTNOTEMinkowski1904171–172-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> It maps <a href="Quadratic_irrational" class="mw-redirect" title="Quadratic irrational">quadratic irrational</a> numbers to <a href="Rational_number" title="Rational number">rational numbers</a> on the <a href="Unit_interval" title="Unit interval">unit interval</a>, via an expression relating the <a href="Continued_fraction" title="Continued fraction">continued fraction</a> expansions of the quadratics to the <a href="Binary_expansion" class="mw-redirect" title="Binary expansion">binary expansions</a> of the rationals, given by <a href="Arnaud_Denjoy" title="Arnaud Denjoy">Arnaud Denjoy</a> in 1938.<sup id="cite_ref-FOOTNOTEDenjoy1938_2-0" class="reference"><a href="#cite_note-FOOTNOTEDenjoy1938-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> It also maps rational numbers to <a href="Dyadic_rational" title="Dyadic rational">dyadic rationals</a>, as can be seen by a <a href="Recursive_definition" title="Recursive definition">recursive definition</a> closely related to the <a href="Stern%E2%80%93Brocot_tree" title="Stern–Brocot tree">Stern–Brocot tree</a>.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Definition_and_intuition">Definition and intuition</h2></div>
<p>One way to define the question-mark function involves the correspondence between two different ways of representing fractional numbers using finite or infinite <a href="Binary_sequence" class="mw-redirect" title="Binary sequence">binary sequences</a>. Most familiarly, a string of 0s and 1s with a single point mark ".", like "11.0010010000111111..." can be interpreted as the <a href="Binary_representation" class="mw-redirect" title="Binary representation">binary representation</a> of a number. In this case this number is
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 2+1+{\frac {1}{8}}+{\frac {1}{64}}+\cdots =\pi .}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mn>2</mn>
<mo>+</mo>
<mn>1</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mn>8</mn>
</mfrac>
</mrow>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mn>64</mn>
</mfrac>
</mrow>
<mo>+</mo>
<mo>⋯<!-- ⋯ --></mo>
<mo>=</mo>
<mi>π<!-- π --></mi>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle 2+1+{\frac {1}{8}}+{\frac {1}{64}}+\cdots =\pi .}</annotation>
</semantics>
</math></span></span>
There is a different way of interpreting the same sequence, however, using <a href="Continued_fraction" title="Continued fraction">continued fractions</a>.
Interpreting the <a href="Fractional_part" title="Fractional part">fractional part</a> "0.00100100001111110..." as a binary number in the same way, replace each consecutive block of 0s or 1s by its <a href="Run_length" class="mw-redirect" title="Run length">run length</a> (or, for the first block of zeroes, its run length plus one), in this case generating the sequence <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle [3;3,1,2,1,4,6,\dots ]}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo stretchy="false">[</mo>
<mn>3</mn>
<mo>;</mo>
<mn>3</mn>
<mo>,</mo>
<mn>1</mn>
<mo>,</mo>
<mn>2</mn>
<mo>,</mo>
<mn>1</mn>
<mo>,</mo>
<mn>4</mn>
<mo>,</mo>
<mn>6</mn>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo stretchy="false">]</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle [3;3,1,2,1,4,6,\dots ]}</annotation>
</semantics>
</math></span><img src="./5e257c9fe1e778cbb4e3f776f502c45e3bccc2c4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:19.392ex; height:2.843ex;" alt="{\displaystyle [3;3,1,2,1,4,6,\dots ]}" loading="lazy"></span>. Then, use this sequence as the coefficients of a continued fraction:<sup id="cite_ref-FOOTNOTEFinch2003441–442_3-0" class="reference"><a href="#cite_note-FOOTNOTEFinch2003441–442-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-FOOTNOTEPytheas_Fogg200295_4-0" class="reference"><a href="#cite_note-FOOTNOTEPytheas_Fogg200295-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 3+{\frac {1}{\displaystyle 3+{\frac {1}{\displaystyle 1+{\frac {1}{\displaystyle 2+{\frac {1}{\displaystyle 1+{\frac {1}{\displaystyle 4+{\frac {1}{\displaystyle 6+\dots }}}}}}}}}}}}\approx 3.2676}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mn>3</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>3</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>1</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>2</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>1</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>4</mn>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<mn>6</mn>
<mo>+</mo>
<mo>…<!-- … --></mo>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
<mo>≈<!-- ≈ --></mo>
<mn>3.2676</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle 3+{\frac {1}{\displaystyle 3+{\frac {1}{\displaystyle 1+{\frac {1}{\displaystyle 2+{\frac {1}{\displaystyle 1+{\frac {1}{\displaystyle 4+{\frac {1}{\displaystyle 6+\dots }}}}}}}}}}}}\approx 3.2676}</annotation>
</semantics>
</math></span></span>
</p><p>The question-mark function reverses this process: it translates the continued-fraction of a given <a href="Real_number" title="Real number">real number</a> into a run-length encoded binary sequence, and then reinterprets that sequence as a binary number.<sup id="cite_ref-FOOTNOTEFinch2003441–442_3-1" class="reference"><a href="#cite_note-FOOTNOTEFinch2003441–442-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup><sup id="cite_ref-FOOTNOTEPytheas_Fogg200295_4-1" class="reference"><a href="#cite_note-FOOTNOTEPytheas_Fogg200295-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup> For instance, for the example above, <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \operatorname {?} (3.2676)\approx \pi }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mn>3.2676</mn>
<mo stretchy="false">)</mo>
<mo>≈<!-- ≈ --></mo>
<mi>π<!-- π --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \operatorname {?} (3.2676)\approx \pi }</annotation>
</semantics>
</math></span><img src="./16ca301cd6d429f43e1e018fa88294e6445ed588.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:13.796ex; height:2.843ex;" alt="{\displaystyle \operatorname {?} (3.2676)\approx \pi }" loading="lazy"></span>. To define this formally, if an <a href="Irrational_number" title="Irrational number">irrational number</a> <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> has the (non-terminating) continued-fraction representation
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=a_{0}+{\frac {1}{\displaystyle a_{1}+{\frac {1}{\displaystyle a_{2}+\cdots }}}}=[a_{0};a_{1},a_{2},\dots ]}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
<mo>=</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>+</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>+</mo>
<mo>⋯<!-- ⋯ --></mo>
</mstyle>
</mfrac>
</mrow>
</mstyle>
</mfrac>
</mrow>
<mo>=</mo>
<mo stretchy="false">[</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>;</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo stretchy="false">]</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x=a_{0}+{\frac {1}{\displaystyle a_{1}+{\frac {1}{\displaystyle a_{2}+\cdots }}}}=[a_{0};a_{1},a_{2},\dots ]}</annotation>
</semantics>
</math></span></span>
then the value of the question-mark function on <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> is defined as the value of the <a href="Series_(mathematics)" title="Series (mathematics)">infinite series</a>
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \operatorname {?} (x)=a_{0}+2\sum _{n=1}^{\infty }{\frac {\left(-1\right)^{n+1}}{2^{a_{1}+\cdots +a_{n}}}}.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>+</mo>
<mn>2</mn>
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>=</mo>
<mn>1</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mrow>
</munderover>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<msup>
<mrow>
<mo>(</mo>
<mrow>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
<mo>)</mo>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msup>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>+</mo>
<mo>⋯<!-- ⋯ --></mo>
<mo>+</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
</mrow>
</msub>
</mrow>
</msup>
</mfrac>
</mrow>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \operatorname {?} (x)=a_{0}+2\sum _{n=1}^{\infty }{\frac {\left(-1\right)^{n+1}}{2^{a_{1}+\cdots +a_{n}}}}.}</annotation>
</semantics>
</math></span></span>
A <a href="Rational_number" title="Rational number">rational number</a> <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> has a terminating continued-fraction representation <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle [a_{0};a_{1},a_{2},\dots ,a_{m}]}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo stretchy="false">[</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>;</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</msub>
<mo stretchy="false">]</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle [a_{0};a_{1},a_{2},\dots ,a_{m}]}</annotation>
</semantics>
</math></span><img src="./b9665e5174aa4140ca93614d90c3e6a316700260.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:18.297ex; height:2.843ex;" alt="{\displaystyle [a_{0};a_{1},a_{2},\dots ,a_{m}]}" loading="lazy"></span>, so the value of the question-mark function on <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> reduces to the <a href="Dyadic_rational" title="Dyadic rational">dyadic rational</a> defined by a finite sum,
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \operatorname {?} (x)=a_{0}+2\sum _{n=1}^{m}{\frac {\left(-1\right)^{n+1}}{2^{a_{1}+\cdots +a_{n}}}}.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>+</mo>
<mn>2</mn>
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>=</mo>
<mn>1</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</munderover>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<msup>
<mrow>
<mo>(</mo>
<mrow>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
<mo>)</mo>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msup>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>+</mo>
<mo>⋯<!-- ⋯ --></mo>
<mo>+</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
</mrow>
</msub>
</mrow>
</msup>
</mfrac>
</mrow>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \operatorname {?} (x)=a_{0}+2\sum _{n=1}^{m}{\frac {\left(-1\right)^{n+1}}{2^{a_{1}+\cdots +a_{n}}}}.}</annotation>
</semantics>
</math></span></span>
A <a href="Quadratic_irrational_number" title="Quadratic irrational number">quadratic irrational number</a> <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> is represented by a <a href="Periodic_continued_fraction" title="Periodic continued fraction">periodic continued fraction</a>, so the value of the question-mark function on <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x}</annotation>
</semantics>
</math></span><img src="./87f9e315fd7e2ba406057a97300593c4802b53e4.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}" loading="lazy"></span> is a periodic binary fraction and thus a non-dyadic rational number.
</p>
<div class="mw-heading mw-heading2"><h2 id="Self-symmetry">Self-symmetry</h2></div>
<p>The question mark is clearly visually self-similar. A <a href="Monoid" title="Monoid">monoid</a> of self-similarities may be generated by two operators <span class="texhtml mvar" style="font-style:italic;">S</span> and <span class="texhtml mvar" style="font-style:italic;">R</span> acting on the <a href="Unit_square" title="Unit square">unit square</a> and defined as follows:
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\begin{aligned}S(x,y)&=\left({\frac {x}{x+1}},{\frac {y}{2}}\right),\\[5px]R(x,y)&=(1-x,1-y).\end{aligned}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mtable columnalign="right left right left right left right left right left right left" rowspacing="0.8em 0.3em" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true">
<mtr>
<mtd>
<mi>S</mi>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo>,</mo>
<mi>y</mi>
<mo stretchy="false">)</mo>
</mtd>
<mtd>
<mi></mi>
<mo>=</mo>
<mrow>
<mo>(</mo>
<mrow>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>x</mi>
<mrow>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</mfrac>
</mrow>
<mo>,</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>y</mi>
<mn>2</mn>
</mfrac>
</mrow>
</mrow>
<mo>)</mo>
</mrow>
<mo>,</mo>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>R</mi>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo>,</mo>
<mi>y</mi>
<mo stretchy="false">)</mo>
</mtd>
<mtd>
<mi></mi>
<mo>=</mo>
<mo stretchy="false">(</mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mi>x</mi>
<mo>,</mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mi>y</mi>
<mo stretchy="false">)</mo>
<mo>.</mo>
</mtd>
</mtr>
</mtable>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\begin{aligned}S(x,y)&=\left({\frac {x}{x+1}},{\frac {y}{2}}\right),\\[5px]R(x,y)&=(1-x,1-y).\end{aligned}}}</annotation>
</semantics>
</math></span></span>
</p><p>Visually, <span class="texhtml mvar" style="font-style:italic;">S</span> shrinks the unit square to its bottom-left quarter, while <span class="texhtml mvar" style="font-style:italic;">R</span> performs a <a href="Point_reflection" title="Point reflection">point reflection</a> through its center.
</p><p>A point on the <a href="Function_graph" class="mw-redirect" title="Function graph">graph</a> of <span class="texhtml">?</span> has coordinates <span class="texhtml">(<i>x</i>, ?(<i>x</i>))</span> for some <span class="texhtml mvar" style="font-style:italic;">x</span> in the unit interval. Such a point is transformed by <span class="texhtml mvar" style="font-style:italic;">S</span> and <span class="texhtml mvar" style="font-style:italic;">R</span> into another point of the graph, because <span class="texhtml">?</span> satisfies the following identities for all <span class="texhtml"><i>x</i> ∈ [0, 1]</span>:
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\begin{aligned}\operatorname {?} \left({\frac {x}{x+1}}\right)&={\frac {\operatorname {?} (x)}{2}},\\[5px]\operatorname {?} (1-x)&=1-\operatorname {?} (x).\end{aligned}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mrow class="MJX-TeXAtom-ORD">
<mtable columnalign="right left right left right left right left right left right left" rowspacing="0.8em 0.3em" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true">
<mtr>
<mtd>
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mrow>
<mo>(</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>x</mi>
<mrow>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</mfrac>
</mrow>
<mo>)</mo>
</mrow>
</mtd>
<mtd>
<mi></mi>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mrow>
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
</mrow>
<mn>2</mn>
</mfrac>
</mrow>
<mo>,</mo>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
</mtd>
<mtd>
<mi></mi>
<mo>=</mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>.</mo>
</mtd>
</mtr>
</mtable>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle {\begin{aligned}\operatorname {?} \left({\frac {x}{x+1}}\right)&={\frac {\operatorname {?} (x)}{2}},\\[5px]\operatorname {?} (1-x)&=1-\operatorname {?} (x).\end{aligned}}}</annotation>
</semantics>
</math></span></span>
</p><p>These two operators may be repeatedly combined, forming a monoid. A general element of the monoid is then
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S^{a_{1}}RS^{a_{2}}RS^{a_{3}}\cdots }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>R</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>R</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
</mrow>
</msup>
<mo>⋯<!-- ⋯ --></mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S^{a_{1}}RS^{a_{2}}RS^{a_{3}}\cdots }</annotation>
</semantics>
</math></span></span>
</p><p>for positive integers <span class="texhtml"><i>a</i><sub>1</sub>, <i>a</i><sub>2</sub>, <i>a</i><sub>3</sub>, …</span>. Each such element describes a <a href="Self-similarity" title="Self-similarity">self-similarity</a> of the question-mark function. This monoid is sometimes called the <i><a href="Period-doubling_monoid" class="mw-redirect" title="Period-doubling monoid">period-doubling monoid</a></i>, and all period-doubling fractal curves have a self-symmetry described by it (the <a href="De_Rham_curve" title="De Rham curve">de Rham curve</a>, of which the question mark is a special case, is a category of such curves). The elements of the monoid are in correspondence with the rationals, by means of the identification of <span class="texhtml"><i>a</i><sub>1</sub>, <i>a</i><sub>2</sub>, <i>a</i><sub>3</sub>, …</span> with the continued fraction <span class="texhtml">[0; <i>a</i><sub>1</sub>, <i>a</i><sub>2</sub>, <i>a</i><sub>3</sub>,…]</span>. Since both
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S:x\mapsto {\frac {x}{x+1}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>S</mi>
<mo>:</mo>
<mi>x</mi>
<mo stretchy="false">↦<!-- ↦ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>x</mi>
<mrow>
<mi>x</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S:x\mapsto {\frac {x}{x+1}}}</annotation>
</semantics>
</math></span></span>
and
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T:x\mapsto 1-x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>T</mi>
<mo>:</mo>
<mi>x</mi>
<mo stretchy="false">↦<!-- ↦ --></mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle T:x\mapsto 1-x}</annotation>
</semantics>
</math></span></span>
are <a href="Linear_fractional_transformation" title="Linear fractional transformation">linear fractional transformations</a> with integer coefficients, the monoid may be regarded as a subset of the <a href="Modular_group" title="Modular group">modular group</a> <span class="texhtml">PSL(2, <b>Z</b>)</span>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Quadratic_irrationals">Quadratic irrationals</h2></div>
<p>The question mark function provides a one-to-one mapping from the non-dyadic rationals to the <a href="Quadratic_irrational" class="mw-redirect" title="Quadratic irrational">quadratic irrationals</a>, thus allowing an explicit proof of countability of the latter. These can, in fact, be understood to correspond to the <a href="Periodic_orbit" class="mw-redirect" title="Periodic orbit">periodic orbits</a> for the <a href="Dyadic_transformation" title="Dyadic transformation">dyadic transformation</a>. This can be explicitly demonstrated in just a few steps.
</p>
<div class="mw-heading mw-heading3"><h3 id="Dyadic_symmetry">Dyadic symmetry</h3></div>
<p>Define two moves: a left move and a right move, valid on the <a href="Unit_interval" title="Unit interval">unit interval</a> <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 0\leq x\leq 1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mn>0</mn>
<mo>≤<!-- ≤ --></mo>
<mi>x</mi>
<mo>≤<!-- ≤ --></mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle 0\leq x\leq 1}</annotation>
</semantics>
</math></span><img src="./30810e06ad49f3a837bd2193d4392eda1f74e7ab.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.505ex; width:9.852ex; height:2.343ex;" alt="{\displaystyle 0\leq x\leq 1}" loading="lazy"></span> as
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{D}(x)={\frac {x}{2}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>x</mi>
<mn>2</mn>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{D}(x)={\frac {x}{2}}}</annotation>
</semantics>
</math></span></span> and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{C}(x)={\frac {x}{1+x}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>x</mi>
<mrow>
<mn>1</mn>
<mo>+</mo>
<mi>x</mi>
</mrow>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{C}(x)={\frac {x}{1+x}}}</annotation>
</semantics>
</math></span><img src="./845ba722616689739333d0e2225f954ee7b2ec94.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:15.47ex; height:4.843ex;" alt="{\displaystyle L_{C}(x)={\frac {x}{1+x}}}" loading="lazy"></span>
and
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R_{D}(x)={\frac {1+x}{2}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mrow>
<mn>1</mn>
<mo>+</mo>
<mi>x</mi>
</mrow>
<mn>2</mn>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle R_{D}(x)={\frac {1+x}{2}}}</annotation>
</semantics>
</math></span></span> and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R_{C}(x)={\frac {1}{2-x}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mn>1</mn>
<mrow>
<mn>2</mn>
<mo>−<!-- − --></mo>
<mi>x</mi>
</mrow>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle R_{C}(x)={\frac {1}{2-x}}}</annotation>
</semantics>
</math></span><img src="./05dba2a991912ebadafb41d47a71e47e918c3ef1.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:15.651ex; height:5.343ex;" alt="{\displaystyle R_{C}(x)={\frac {1}{2-x}}}" loading="lazy"></span>
The question mark function then obeys a left-move symmetry
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{D}\circ {\text{?}}={\text{?}}\circ L_{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{D}\circ {\text{?}}={\text{?}}\circ L_{C}}</annotation>
</semantics>
</math></span></span>
and a right-move symmetry
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R_{D}\circ {\text{?}}={\text{?}}\circ R_{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle R_{D}\circ {\text{?}}={\text{?}}\circ R_{C}}</annotation>
</semantics>
</math></span></span>
where <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \circ }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo>∘<!-- ∘ --></mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \circ }</annotation>
</semantics>
</math></span><img src="./99add39d2b681e2de7ff62422c32704a05c7ec31.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: 0.125ex; margin-bottom: -0.297ex; width:1.162ex; height:1.509ex;" alt="{\displaystyle \circ }" loading="lazy"></span> denotes <a href="Function_composition" title="Function composition">function composition</a>. These can be arbitrarily concatenated. Consider, for example, the sequence of left-right moves <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle LRLLR.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>L</mi>
<mi>R</mi>
<mi>L</mi>
<mi>L</mi>
<mi>R</mi>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle LRLLR.}</annotation>
</semantics>
</math></span><img src="./cd9a7e192e435f0622d170c44cb9d4cf4f677271.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:8.923ex; height:2.176ex;" alt="{\displaystyle LRLLR.}" loading="lazy"></span> Adding the subscripts C and D, and, for clarity, dropping the composition operator <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \circ }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo>∘<!-- ∘ --></mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \circ }</annotation>
</semantics>
</math></span><img src="./99add39d2b681e2de7ff62422c32704a05c7ec31.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: 0.125ex; margin-bottom: -0.297ex; width:1.162ex; height:1.509ex;" alt="{\displaystyle \circ }" loading="lazy"></span> in all but a few places, one has:
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{D}R_{D}L_{D}L_{D}R_{D}\circ {\text{?}}={\text{?}}\circ L_{C}R_{C}L_{C}L_{C}R_{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{D}R_{D}L_{D}L_{D}R_{D}\circ {\text{?}}={\text{?}}\circ L_{C}R_{C}L_{C}L_{C}R_{C}}</annotation>
</semantics>
</math></span></span>
Arbitrary finite-length strings in the letters L and R correspond to the <a href="Dyadic_rationals" class="mw-redirect" title="Dyadic rationals">dyadic rationals</a>, in that every dyadic rational can be written as both <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y=n/2^{m}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>y</mi>
<mo>=</mo>
<mi>n</mi>
<mrow class="MJX-TeXAtom-ORD">
<mo>/</mo>
</mrow>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</msup>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle y=n/2^{m}}</annotation>
</semantics>
</math></span><img src="./b93dfeeadce8a57f173d5e15fc970b513d362ff9.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:9.649ex; height:2.843ex;" alt="{\displaystyle y=n/2^{m}}" loading="lazy"></span> for integer <i>n</i> and <i>m</i> and as finite length of bits <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>y</mi>
<mo>=</mo>
<mn>0.</mn>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
<mo>⋯<!-- ⋯ --></mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}</annotation>
</semantics>
</math></span><img src="./a04a56b38079089ee5cff10482be90a326869cfd.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:18.389ex; height:2.509ex;" alt="{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}" loading="lazy"></span> with <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle b_{k}\in \{0,1\}.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
</mrow>
</msub>
<mo>∈<!-- ∈ --></mo>
<mo fence="false" stretchy="false">{</mo>
<mn>0</mn>
<mo>,</mo>
<mn>1</mn>
<mo fence="false" stretchy="false">}</mo>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle b_{k}\in \{0,1\}.}</annotation>
</semantics>
</math></span><img src="./5a216bac798702ebe1a2dba84c088ca2a2dd6128.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:11.258ex; height:2.843ex;" alt="{\displaystyle b_{k}\in \{0,1\}.}" loading="lazy"></span> Thus, every dyadic rational is in one-to-one correspondence with some self-symmetry of the question mark function.
</p><p>Some notational rearrangements can make the above slightly easier to express. Let <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle g_{0}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle g_{0}}</annotation>
</semantics>
</math></span><img src="./32d13273b9af4564fa2c421c96d039c414db8628.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.163ex; height:2.009ex;" alt="{\displaystyle g_{0}}" loading="lazy"></span> and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle g_{1}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle g_{1}}</annotation>
</semantics>
</math></span><img src="./3755e3e04ec295992b2b5331655ef83a500a05c1.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.163ex; height:2.009ex;" alt="{\displaystyle g_{1}}" loading="lazy"></span> stand for L and R. Function composition extends this to a <a href="Monoid" title="Monoid">monoid</a>, in that one can write <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle g_{010}=g_{0}g_{1}g_{0}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>010</mn>
</mrow>
</msub>
<mo>=</mo>
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle g_{010}=g_{0}g_{1}g_{0}}</annotation>
</semantics>
</math></span><img src="./c6e259c8a6d532d13783e5d6f423ad022b1738c0.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:13.396ex; height:2.009ex;" alt="{\displaystyle g_{010}=g_{0}g_{1}g_{0}}" loading="lazy"></span> and generally, <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle g_{A}g_{B}=g_{AB}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>A</mi>
</mrow>
</msub>
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>B</mi>
</mrow>
</msub>
<mo>=</mo>
<msub>
<mi>g</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>A</mi>
<mi>B</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle g_{A}g_{B}=g_{AB}}</annotation>
</semantics>
</math></span><img src="./f75be0a170d2924de25755e6132645c6d48e07d8.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:12.082ex; height:2.009ex;" alt="{\displaystyle g_{A}g_{B}=g_{AB}}" loading="lazy"></span> for some binary strings of digits <i>A</i>, <i>B</i>, where <i>AB</i> is just the ordinary <a href="Concatenation" title="Concatenation">concatenation</a> of such strings. The dyadic monoid <i>M</i> is then the monoid of all such finite-length left-right moves. Writing <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \gamma \in M}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>γ<!-- γ --></mi>
<mo>∈<!-- ∈ --></mo>
<mi>M</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \gamma \in M}</annotation>
</semantics>
</math></span><img src="./c9e4c574bcce05b99e8f917a3c0d50c9ca733922.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:6.545ex; height:2.676ex;" alt="{\displaystyle \gamma \in M}" loading="lazy"></span> as a general element of the monoid, there is a corresponding self-symmetry of the question mark function:
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \gamma _{D}\circ {\text{?}}={\text{?}}\circ \gamma _{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>γ<!-- γ --></mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mtext>?</mtext>
</mrow>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>γ<!-- γ --></mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \gamma _{D}\circ {\text{?}}={\text{?}}\circ \gamma _{C}}</annotation>
</semantics>
</math></span></span>
</p>
<div class="mw-heading mw-heading3"><h3 id="Isomorphism">Isomorphism</h3></div>
<p>An explicit mapping between the rationals and the dyadic rationals can be obtained providing a reflection operator
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r(x)=1-x}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>r</mi>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mn>1</mn>
<mo>−<!-- − --></mo>
<mi>x</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle r(x)=1-x}</annotation>
</semantics>
</math></span></span>
and noting that both
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r\circ R_{D}\circ r=L_{D}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>r</mi>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mi>r</mi>
<mo>=</mo>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle r\circ R_{D}\circ r=L_{D}}</annotation>
</semantics>
</math></span></span> and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r\circ R_{C}\circ r=L_{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>r</mi>
<mo>∘<!-- ∘ --></mo>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<mo>∘<!-- ∘ --></mo>
<mi>r</mi>
<mo>=</mo>
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle r\circ R_{C}\circ r=L_{C}}</annotation>
</semantics>
</math></span><img src="./9795cb811ccecba84ab09cf430df9eaa41ba8d20.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:15.895ex; height:2.509ex;" alt="{\displaystyle r\circ R_{C}\circ r=L_{C}}" loading="lazy"></span>
Since <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r^{2}=1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>r</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<mo>=</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle r^{2}=1}</annotation>
</semantics>
</math></span><img src="./a49c775370fb37a15f3816d31c407d02d6b42967.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:6.364ex; height:2.676ex;" alt="{\displaystyle r^{2}=1}" loading="lazy"></span> is the <a href="Identity_element" title="Identity element">identity</a>, an arbitrary string of left-right moves can be re-written as a string of left moves only, followed by a reflection, followed by more left moves, a reflection, and so on, that is, as <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L^{a_{1}}rL^{a_{2}}rL^{a_{3}}\cdots }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>r</mi>
<msup>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>r</mi>
<msup>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
</mrow>
</msup>
<mo>⋯<!-- ⋯ --></mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L^{a_{1}}rL^{a_{2}}rL^{a_{3}}\cdots }</annotation>
</semantics>
</math></span><img src="./0e142fa1e26c3ca776a9f8610b51ba6c1ad67afc.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:15.756ex; height:2.343ex;" alt="{\displaystyle L^{a_{1}}rL^{a_{2}}rL^{a_{3}}\cdots }" loading="lazy"></span> which is clearly isomorphic to <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S^{a_{1}}TS^{a_{2}}TS^{a_{3}}\cdots }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>T</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>T</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
</mrow>
</msup>
<mo>⋯<!-- ⋯ --></mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S^{a_{1}}TS^{a_{2}}TS^{a_{3}}\cdots }</annotation>
</semantics>
</math></span><img src="./fa3c14d42f28c177df2c4072c988774c8909fc0e.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:16.748ex; height:2.343ex;" alt="{\displaystyle S^{a_{1}}TS^{a_{2}}TS^{a_{3}}\cdots }" loading="lazy"></span> from above. Evaluating some explicit sequence of <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{D},R_{D}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>D</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{D},R_{D}}</annotation>
</semantics>
</math></span><img src="./cfa01280bcf6f1a4b663ba3d0306ed6b096ead1d.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:7.567ex; height:2.509ex;" alt="{\displaystyle L_{D},R_{D}}" loading="lazy"></span> at the function argument <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
<mo>=</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x=1}</annotation>
</semantics>
</math></span><img src="./ee42176e76ae6b56d68c42ced807e08b962a2b54.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=1}" loading="lazy"></span> gives a dyadic rational; explicitly, it is equal to <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>y</mi>
<mo>=</mo>
<mn>0.</mn>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
<mo>⋯<!-- ⋯ --></mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}</annotation>
</semantics>
</math></span><img src="./a04a56b38079089ee5cff10482be90a326869cfd.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:18.389ex; height:2.509ex;" alt="{\displaystyle y=0.b_{1}b_{2}b_{3}\cdots b_{m}}" loading="lazy"></span> where each <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle b_{k}\in \{0,1\}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
</mrow>
</msub>
<mo>∈<!-- ∈ --></mo>
<mo fence="false" stretchy="false">{</mo>
<mn>0</mn>
<mo>,</mo>
<mn>1</mn>
<mo fence="false" stretchy="false">}</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle b_{k}\in \{0,1\}}</annotation>
</semantics>
</math></span><img src="./29912b00b5cbf50fcb0b762808bcbe7fd45c80e5.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:10.611ex; height:2.843ex;" alt="{\displaystyle b_{k}\in \{0,1\}}" loading="lazy"></span> is a binary bit, zero corresponding to a left move and one corresponding to a right move. The equivalent sequence of <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle L_{C},R_{C}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>L</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>R</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>C</mi>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle L_{C},R_{C}}</annotation>
</semantics>
</math></span><img src="./e6fe0bf2213439120699c2943a84902c190ff8b8.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:7.343ex; height:2.509ex;" alt="{\displaystyle L_{C},R_{C}}" loading="lazy"></span> moves, evaluated at <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
<mo>=</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x=1}</annotation>
</semantics>
</math></span><img src="./ee42176e76ae6b56d68c42ced807e08b962a2b54.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=1}" loading="lazy"></span> gives a rational number <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle p/q.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>p</mi>
<mrow class="MJX-TeXAtom-ORD">
<mo>/</mo>
</mrow>
<mi>q</mi>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle p/q.}</annotation>
</semantics>
</math></span><img src="./859645f5823d17a5abfa11c70bb975118fccebe0.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; margin-left: -0.089ex; width:4.138ex; height:2.843ex;" alt="{\displaystyle p/q.}" loading="lazy"></span> It is explicitly the one provided by the continued fraction <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle p/q=[a_{1},a_{2},a_{3},\ldots ,a_{j}]}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>p</mi>
<mrow class="MJX-TeXAtom-ORD">
<mo>/</mo>
</mrow>
<mi>q</mi>
<mo>=</mo>
<mo stretchy="false">[</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>j</mi>
</mrow>
</msub>
<mo stretchy="false">]</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle p/q=[a_{1},a_{2},a_{3},\ldots ,a_{j}]}</annotation>
</semantics>
</math></span><img src="./6319ec435eb3944942d45abfc0c50719fe2084a6.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.005ex; margin-left: -0.089ex; width:24.121ex; height:3.009ex;" alt="{\displaystyle p/q=[a_{1},a_{2},a_{3},\ldots ,a_{j}]}" loading="lazy"></span> keeping in mind that it is a rational because the sequence <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle (a_{1},a_{2},a_{3},\ldots ,a_{j})}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo stretchy="false">(</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>3</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>j</mi>
</mrow>
</msub>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle (a_{1},a_{2},a_{3},\ldots ,a_{j})}</annotation>
</semantics>
</math></span><img src="./4b50dfa36063ee028ee7df7689a3ff2811ab9370.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.005ex; width:18.047ex; height:3.009ex;" alt="{\displaystyle (a_{1},a_{2},a_{3},\ldots ,a_{j})}" loading="lazy"></span> was of finite length. This establishes a one-to-one correspondence between the dyadic rationals and the rationals.
</p>
<div class="mw-heading mw-heading3"><h3 id="Periodic_orbits_of_the_dyadic_transform">Periodic orbits of the dyadic transform</h3></div>
<p>Consider now the <a href="Periodic_orbit" class="mw-redirect" title="Periodic orbit">periodic orbits</a> of the <a href="Dyadic_transformation" title="Dyadic transformation">dyadic transformation</a>. These correspond to bit-sequences consisting of a finite initial "chaotic" sequence of bits <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle b_{0},b_{1},b_{2},\ldots ,b_{k-1}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle b_{0},b_{1},b_{2},\ldots ,b_{k-1}}</annotation>
</semantics>
</math></span><img src="./ba4c718044c2e91a6caf795a30686cfc673ee894.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:17.588ex; height:2.509ex;" alt="{\displaystyle b_{0},b_{1},b_{2},\ldots ,b_{k-1}}" loading="lazy"></span>, followed by a repeating string <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle b_{k},b_{k+1},b_{k+2},\ldots ,b_{k+m-1}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>+</mo>
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>+</mo>
<mi>m</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
</msub>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle b_{k},b_{k+1},b_{k+2},\ldots ,b_{k+m-1}}</annotation>
</semantics>
</math></span><img src="./17abaf9f6312edf7c9ac9ab3e540bba4ccb547ac.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:24.614ex; height:2.509ex;" alt="{\displaystyle b_{k},b_{k+1},b_{k+2},\ldots ,b_{k+m-1}}" loading="lazy"></span> of length <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle m}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>m</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle m}</annotation>
</semantics>
</math></span><img src="./0a07d98bb302f3856cbabc47b2b9016692e3f7bc.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:2.04ex; height:1.676ex;" alt="{\displaystyle m}" loading="lazy"></span>. Such repeating strings correspond to a rational number. This is easily made explicit. Write
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y=\sum _{j=0}^{m-1}b_{k+j}2^{-j-1}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>y</mi>
<mo>=</mo>
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>j</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
</munderover>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>+</mo>
<mi>j</mi>
</mrow>
</msub>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mo>−<!-- − --></mo>
<mi>j</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
</msup>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle y=\sum _{j=0}^{m-1}b_{k+j}2^{-j-1}}</annotation>
</semantics>
</math></span></span>
one then clearly has
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \sum _{j=0}^{\infty }b_{k+j}2^{-j-1}=y\sum _{j=0}^{\infty }2^{-jm}={\frac {y}{1-2^{m}}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>j</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mrow>
</munderover>
<msub>
<mi>b</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>k</mi>
<mo>+</mo>
<mi>j</mi>
</mrow>
</msub>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mo>−<!-- − --></mo>
<mi>j</mi>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mrow>
</msup>
<mo>=</mo>
<mi>y</mi>
<munderover>
<mo>∑<!-- ∑ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>j</mi>
<mo>=</mo>
<mn>0</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mrow>
</munderover>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mo>−<!-- − --></mo>
<mi>j</mi>
<mi>m</mi>
</mrow>
</msup>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mi>y</mi>
<mrow>
<mn>1</mn>
<mo>−<!-- − --></mo>
<msup>
<mn>2</mn>
<mrow class="MJX-TeXAtom-ORD">
<mi>m</mi>
</mrow>
</msup>
</mrow>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \sum _{j=0}^{\infty }b_{k+j}2^{-j-1}=y\sum _{j=0}^{\infty }2^{-jm}={\frac {y}{1-2^{m}}}}</annotation>
</semantics>
</math></span></span>
Tacking on the initial non-repeating sequence, one clearly has a rational number. In fact, <i>every</i> rational number can be expressed in this way: an initial "random" sequence, followed by a cycling repeat. That is, the periodic orbits of the map are in one-to-one correspondence with the rationals.
</p>
<div class="mw-heading mw-heading3"><h3 id="Periodic_orbits_as_continued_fractions">Periodic orbits as continued fractions</h3></div>
<p>Such periodic orbits have an equivalent periodic continued fraction, per the isomorphism established above. There is an initial "chaotic" orbit, of some finite length, followed by a repeating sequence. The repeating sequence generates a <a href="Periodic_continued_fraction" title="Periodic continued fraction">periodic continued fraction</a> satisfying <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=[a_{n},a_{n+1},a_{n+2},\ldots ,a_{n+r},x].}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
<mo>=</mo>
<mo stretchy="false">[</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msub>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mn>2</mn>
</mrow>
</msub>
<mo>,</mo>
<mo>…<!-- … --></mo>
<mo>,</mo>
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mi>r</mi>
</mrow>
</msub>
<mo>,</mo>
<mi>x</mi>
<mo stretchy="false">]</mo>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x=[a_{n},a_{n+1},a_{n+2},\ldots ,a_{n+r},x].}</annotation>
</semantics>
</math></span><img src="./10a89ef810b932a64d608ac6058ba0b03b2107fa.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:31.993ex; height:2.843ex;" alt="{\displaystyle x=[a_{n},a_{n+1},a_{n+2},\ldots ,a_{n+r},x].}" loading="lazy"></span> This continued fraction has the form<sup id="cite_ref-FOOTNOTEKhinchin1997_5-0" class="reference"><a href="#cite_note-FOOTNOTEKhinchin1997-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x={\frac {\alpha x+\beta }{\gamma x+\delta }}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>x</mi>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mfrac>
<mrow>
<mi>α<!-- α --></mi>
<mi>x</mi>
<mo>+</mo>
<mi>β<!-- β --></mi>
</mrow>
<mrow>
<mi>γ<!-- γ --></mi>
<mi>x</mi>
<mo>+</mo>
<mi>δ<!-- δ --></mi>
</mrow>
</mfrac>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle x={\frac {\alpha x+\beta }{\gamma x+\delta }}}</annotation>
</semantics>
</math></span></span>
with the <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \alpha ,\beta ,\gamma ,\delta }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>α<!-- α --></mi>
<mo>,</mo>
<mi>β<!-- β --></mi>
<mo>,</mo>
<mi>γ<!-- γ --></mi>
<mo>,</mo>
<mi>δ<!-- δ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \alpha ,\beta ,\gamma ,\delta }</annotation>
</semantics>
</math></span><img src="./2eb7ee31949dcce33b443132ac97f42927549e43.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:8.232ex; height:2.843ex;" alt="{\displaystyle \alpha ,\beta ,\gamma ,\delta }" loading="lazy"></span> being integers, and satisfying <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \alpha \delta -\beta \gamma =\pm 1.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>α<!-- α --></mi>
<mi>δ<!-- δ --></mi>
<mo>−<!-- − --></mo>
<mi>β<!-- β --></mi>
<mi>γ<!-- γ --></mi>
<mo>=</mo>
<mo>±<!-- ± --></mo>
<mn>1.</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \alpha \delta -\beta \gamma =\pm 1.}</annotation>
</semantics>
</math></span><img src="./747ed5e22262ea113a3fdda51cf4fff3b99e30ac.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:14.687ex; height:2.843ex;" alt="{\displaystyle \alpha \delta -\beta \gamma =\pm 1.}" loading="lazy"></span> Explicit values can be obtained by writing
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S\mapsto {\begin{pmatrix}1&0\\1&1\end{pmatrix}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>S</mi>
<mo stretchy="false">↦<!-- ↦ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mo>(</mo>
<mtable rowspacing="4pt" columnspacing="1em">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
<mo>)</mo>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S\mapsto {\begin{pmatrix}1&0\\1&1\end{pmatrix}}}</annotation>
</semantics>
</math></span></span>
for the shift, so that
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S^{n}\mapsto {\begin{pmatrix}1&0\\n&1\end{pmatrix}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
</mrow>
</msup>
<mo stretchy="false">↦<!-- ↦ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mo>(</mo>
<mtable rowspacing="4pt" columnspacing="1em">
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>0</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>n</mi>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
<mo>)</mo>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S^{n}\mapsto {\begin{pmatrix}1&0\\n&1\end{pmatrix}}}</annotation>
</semantics>
</math></span></span>
while the reflection is given by
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T\mapsto {\begin{pmatrix}-1&1\\0&1\end{pmatrix}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>T</mi>
<mo stretchy="false">↦<!-- ↦ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mo>(</mo>
<mtable rowspacing="4pt" columnspacing="1em">
<mtr>
<mtd>
<mo>−<!-- − --></mo>
<mn>1</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>0</mn>
</mtd>
<mtd>
<mn>1</mn>
</mtd>
</mtr>
</mtable>
<mo>)</mo>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle T\mapsto {\begin{pmatrix}-1&1\\0&1\end{pmatrix}}}</annotation>
</semantics>
</math></span></span>
so that <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T^{2}=I}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>T</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<mo>=</mo>
<mi>I</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle T^{2}=I}</annotation>
</semantics>
</math></span><img src="./f458c4c76d9cd7b68270141de61bf02df6c5a84b.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:7.044ex; height:2.676ex;" alt="{\displaystyle T^{2}=I}" loading="lazy"></span>. Both of these matrices are <a href="Unimodular_matrix" title="Unimodular matrix">unimodular</a>, arbitrary products remain unimodular, and result in a matrix of the form
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle S^{a_{n}}TS^{a_{n+1}}T\cdots TS^{a_{n+r}}={\begin{pmatrix}\alpha &\beta \\\gamma &\delta \end{pmatrix}}}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
</mrow>
</msub>
</mrow>
</msup>
<mi>T</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msub>
</mrow>
</msup>
<mi>T</mi>
<mo>⋯<!-- ⋯ --></mo>
<mi>T</mi>
<msup>
<mi>S</mi>
<mrow class="MJX-TeXAtom-ORD">
<msub>
<mi>a</mi>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo>+</mo>
<mi>r</mi>
</mrow>
</msub>
</mrow>
</msup>
<mo>=</mo>
<mrow class="MJX-TeXAtom-ORD">
<mrow>
<mo>(</mo>
<mtable rowspacing="4pt" columnspacing="1em">
<mtr>
<mtd>
<mi>α<!-- α --></mi>
</mtd>
<mtd>
<mi>β<!-- β --></mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>γ<!-- γ --></mi>
</mtd>
<mtd>
<mi>δ<!-- δ --></mi>
</mtd>
</mtr>
</mtable>
<mo>)</mo>
</mrow>
</mrow>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle S^{a_{n}}TS^{a_{n+1}}T\cdots TS^{a_{n+r}}={\begin{pmatrix}\alpha &\beta \\\gamma &\delta \end{pmatrix}}}</annotation>
</semantics>
</math></span></span>
giving the precise value of the continued fraction. As all of the matrix entries are integers, this matrix belongs to the projective <a href="Modular_group" title="Modular group">modular group</a> <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle PSL(2,\mathbb {Z} ).}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>P</mi>
<mi>S</mi>
<mi>L</mi>
<mo stretchy="false">(</mo>
<mn>2</mn>
<mo>,</mo>
<mrow class="MJX-TeXAtom-ORD">
<mi mathvariant="double-struck">Z</mi>
</mrow>
<mo stretchy="false">)</mo>
<mo>.</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle PSL(2,\mathbb {Z} ).}</annotation>
</semantics>
</math></span><img src="./b3cc1f19e8147798d3f8d723e279bb2fb78943ec.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:11.03ex; height:2.843ex;" alt="{\displaystyle PSL(2,\mathbb {Z} ).}" loading="lazy"></span>
</p><p>Solving explicitly, one has that <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \gamma x^{2}+(\delta -\alpha )x-\beta =0.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>γ<!-- γ --></mi>
<msup>
<mi>x</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
</mrow>
</msup>
<mo>+</mo>
<mo stretchy="false">(</mo>
<mi>δ<!-- δ --></mi>
<mo>−<!-- − --></mo>
<mi>α<!-- α --></mi>
<mo stretchy="false">)</mo>
<mi>x</mi>
<mo>−<!-- − --></mo>
<mi>β<!-- β --></mi>
<mo>=</mo>
<mn>0.</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \gamma x^{2}+(\delta -\alpha )x-\beta =0.}</annotation>
</semantics>
</math></span><img src="./5be62b2fd1ef0604e6764f406bed5737c0a8fdcc.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:24.082ex; height:3.176ex;" alt="{\displaystyle \gamma x^{2}+(\delta -\alpha )x-\beta =0.}" loading="lazy"></span> It is not hard to verify that the solutions to this meet the definition of quadratic irrationals. In fact, every quadratic irrational can be expressed in this way. Thus the quadratic irrationals are in one-to-one correspondence with the periodic orbits of the dyadic transform, which are in one-to-one correspondence with the (non-dyadic) rationals, which are in one-to-one correspondence with the dyadic rationals. The question mark function provides the correspondence in each case.
</p>
<div class="mw-heading mw-heading2"><h2 id="Properties_of_?(x)">Properties of <span class="texhtml">?(<i>x</i>)</span></h2></div>
<div class="skin-invert"><div class="thumb tnone" style="margin-left:auto;margin-right:auto;overflow:hidden;width:auto;max-width:1034px"><div class="thumbinner"><div class="noresize thumbimage" style="overflow:auto"><span typeof="mw:File"></span></div></div></div></div>
<p>The question-mark function is a <a href="Strictly_increasing" class="mw-redirect" title="Strictly increasing">strictly increasing</a> and continuous,<sup id="cite_ref-FOOTNOTEFinch2003442_6-0" class="reference"><a href="#cite_note-FOOTNOTEFinch2003442-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> but not <a href="Absolutely_continuous" class="mw-redirect" title="Absolutely continuous">absolutely continuous</a> function. The <a href="Derivative" title="Derivative">derivative</a> is defined <a href="Almost_everywhere" title="Almost everywhere">almost everywhere</a>, and can take on only two values, 0 (its value almost everywhere, including at all <a href="Rational_number" title="Rational number">rational numbers</a>) and <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle +\infty }">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo>+</mo>
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle +\infty }</annotation>
</semantics>
</math></span><img src="./bddbb0e4420a7e744cf71bd71216e11b0bf88831.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.505ex; width:4.132ex; height:2.176ex;" alt="{\displaystyle +\infty }" loading="lazy"></span>.<sup id="cite_ref-FOOTNOTEDushistovaMoshchevitin2012_7-0" class="reference"><a href="#cite_note-FOOTNOTEDushistovaMoshchevitin2012-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup> There are several constructions for a <a href="Measure_(mathematics)" title="Measure (mathematics)">measure</a> that, when integrated, yields the question-mark function. One such construction is obtained by measuring the density of the <a href="Farey_sequence" title="Farey sequence">Farey numbers</a> on the real number line. The question-mark measure is the prototypical example of what are sometimes referred to as <a href="Multifractal" class="mw-redirect" title="Multifractal">multi-fractal measures</a>.
</p><p>The question-mark function maps rational numbers to <a href="Dyadic_rational" title="Dyadic rational">dyadic rational numbers</a>, meaning those whose <a href="Binary_numeral_system" class="mw-redirect" title="Binary numeral system">base two</a> representation terminates, as may be proven by induction from the recursive construction outlined above. It maps <a href="Quadratic_irrational" class="mw-redirect" title="Quadratic irrational">quadratic irrationals</a> to non-dyadic rational numbers. In both cases it provides an <a href="Order_isomorphism" title="Order isomorphism">order isomorphism</a> between these sets,<sup id="cite_ref-FOOTNOTEGirgensohn1996_8-0" class="reference"><a href="#cite_note-FOOTNOTEGirgensohn1996-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> making concrete <a href="Cantor's_isomorphism_theorem" title="Cantor's isomorphism theorem">Cantor's isomorphism theorem</a> according to which every two unbounded countable dense linear orders are order-isomorphic.<sup id="cite_ref-FOOTNOTEBhattacharjeeMacphersonMöllerNeumann1997_9-0" class="reference"><a href="#cite_note-FOOTNOTEBhattacharjeeMacphersonMöllerNeumann1997-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> It is an <a href="Odd_function" class="mw-redirect" title="Odd function">odd function</a>, and satisfies the functional equation <span class="texhtml">?(<i>x</i> + 1) = ?(<i>x</i>) + 1</span>; consequently <span class="texhtml"><i>x</i> ↦ ?(<i>x</i>) − <i>x</i></span> is an odd <a href="Periodic_function" title="Periodic function">periodic function</a> with period one. If <span class="texhtml">?(<i>x</i>)</span> is irrational, then <span class="texhtml mvar" style="font-style:italic;">x</span> is either <a href="Algebraic_number" title="Algebraic number">algebraic</a> of degree greater than two, or <a href="Transcendental_number" title="Transcendental number">transcendental</a>.
</p><p>The question-mark function has <a href="Fixed_point_(mathematics)" title="Fixed point (mathematics)">fixed points</a> at 0, <style data-mw-deduplicate="TemplateStyles:r1214402035">
/* start https://en.wikipedia.org/ */
.mw-parser-output .sfrac{white-space:nowrap}.mw-parser-output .sfrac.tion,.mw-parser-output .sfrac .tion{display:inline-block;vertical-align:-0.5em;font-size:85%;text-align:center}.mw-parser-output .sfrac .num{display:block;line-height:1em;margin:0.0em 0.1em;border-bottom:1px solid}.mw-parser-output .sfrac .den{display:block;line-height:1em;margin:0.1em 0.1em}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
/* end https://en.wikipedia.org/ */
</style><span class="sfrac"><span class="tion"><span class="num">1</span><span class="sr-only">/</span><span class="den">2</span></span></span> and 1, and at least two more, symmetric about the midpoint. One is approximately 0.42037.<sup id="cite_ref-FOOTNOTEFinch2003442_6-1" class="reference"><a href="#cite_note-FOOTNOTEFinch2003442-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>
It was conjectured by Moshchevitin that they were the only 5 fixed points.<sup id="cite_ref-FOOTNOTEMoshchevitin2020_10-0" class="reference"><a href="#cite_note-FOOTNOTEMoshchevitin2020-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup>
</p><p>In 1943, <a href="Rapha%C3%ABl_Salem" title="Raphaël Salem">Raphaël Salem</a> raised the question of whether the Fourier–Stieltjes coefficients of the question-mark function <a href="Vanish_at_infinity" title="Vanish at infinity">vanish at infinity</a>.<sup id="cite_ref-FOOTNOTESalem1943_11-0" class="reference"><a href="#cite_note-FOOTNOTESalem1943-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup> In other words, he wanted to know whether or not
<span class="mwe-math-element mwe-math-element-block"><span class="mwe-math-mathml-display mwe-math-mathml-a11y" style="display: none;"><math display="block" xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \lim _{n\to \infty }\int _{0}^{1}e^{2\pi inx}\,\operatorname {d?} (x)=0.}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<munder>
<mo movablelimits="true" form="prefix">lim</mo>
<mrow class="MJX-TeXAtom-ORD">
<mi>n</mi>
<mo stretchy="false">→<!-- → --></mo>
<mi mathvariant="normal">∞<!-- ∞ --></mi>
</mrow>
</munder>
<msubsup>
<mo>∫<!-- ∫ --></mo>
<mrow class="MJX-TeXAtom-ORD">
<mn>0</mn>
</mrow>
<mrow class="MJX-TeXAtom-ORD">
<mn>1</mn>
</mrow>
</msubsup>
<msup>
<mi>e</mi>
<mrow class="MJX-TeXAtom-ORD">
<mn>2</mn>
<mi>π<!-- π --></mi>
<mi>i</mi>
<mi>n</mi>
<mi>x</mi>
</mrow>
</msup>
<mspace width="thinmathspace"></mspace>
<mrow class="MJX-TeXAtom-OP MJX-fixedlimits">
<mi mathvariant="normal">d</mi>
<mo>?</mo>
</mrow>
<mo><!-- --></mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
<mo>=</mo>
<mn>0.</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle \lim _{n\to \infty }\int _{0}^{1}e^{2\pi inx}\,\operatorname {d?} (x)=0.}</annotation>
</semantics>
</math></span></span>
</p><p>This was answered affirmatively by Jordan and Sahlsten, as a special case of a result on <a href="Gibbs_measure" title="Gibbs measure">Gibbs measures</a>.<sup id="cite_ref-FOOTNOTEJordanSahlsten2016_12-0" class="reference"><a href="#cite_note-FOOTNOTEJordanSahlsten2016-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup>
</p><p>The graph of Minkowski question mark function is a special case of fractal curves known as <a href="De_Rham_curve" title="De Rham curve">de Rham curves</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Algorithm">Algorithm</h2></div>
<p>The recursive definition naturally lends itself to an <a href="Algorithm" title="Algorithm">algorithm</a> for computing the function to any desired degree of accuracy for any real number, as the following <a href="C_(programming_language)" title="C (programming language)">C</a> function demonstrates. The algorithm descends the <a href="Stern%E2%80%93Brocot_tree" title="Stern–Brocot tree">Stern–Brocot tree</a> in search of the input <span class="texhtml mvar" style="font-style:italic;">x</span>, and sums the terms of the binary expansion of <span class="texhtml"><i>y</i> = ?(<i>x</i>)</span> on the way. As long as the <a href="Loop_invariant" title="Loop invariant">loop invariant</a> <span class="texhtml"><i>qr</i> − <i>ps</i> = 1</span> remains satisfied there is no need to reduce the fraction <span class="texhtml"><span class="sfrac"><span class="tion"><span class="num"><i>m</i></span><span class="sr-only">/</span><span class="den"><i>n</i></span></span></span> = <span class="sfrac"><span class="tion"><span class="num"><i>p</i> + <i>r</i></span><span class="sr-only">/</span><span class="den"><i>q</i> + <i>s</i></span></span></span></span>, since it is already in lowest terms. Another invariant is <span class="texhtml"><span class="sfrac"><span class="tion"><span class="num"><i>p</i></span><span class="sr-only">/</span><span class="den"><i>q</i></span></span></span> ≤ <i>x</i> < <span class="sfrac"><span class="tion"><span class="num"><i>r</i></span><span class="sr-only">/</span><span class="den"><i>s</i></span></span></span></span>. The <code>for</code> loop in this program may be analyzed somewhat like a <code>while</code> loop, with the conditional break statements in the first three lines making out the condition. The only statements in the loop that can possibly affect the invariants are in the last two lines, and these can be shown to preserve the truth of both invariants as long as the first three lines have executed successfully without breaking out of the loop. A third invariant for the body of the loop (up to floating point precision) is <span class="texhtml"><i>y</i> ≤ ?(<i>x</i>) < <i>y</i> + <i>d</i></span>, but since <span class="texhtml mvar" style="font-style:italic;">d</span> is <a href="Division_by_two" title="Division by two">halved</a> at the beginning of the loop before any conditions are tested, our conclusion is only that <span class="texhtml"><i>y</i> ≤ ?(<i>x</i>) < <i>y</i> + 2<i>d</i></span> at the termination of the loop.
</p><p>To <a href="Loop_variant" title="Loop variant">prove termination</a>, it is sufficient to note that the sum <code>q + s</code> increases by at least 1 with every iteration of the loop, and that the loop will terminate when this sum is too large to be represented in the primitive C data type <code><b>long</b></code>. However, in practice, the conditional break when <code>y + d == y</code> is what ensures the termination of the loop in a reasonable amount of time.
</p>
<div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span class="cm">/* Minkowski's question-mark function */</span>
<span class="kt">double</span><span class="w"> </span><span class="nf">minkowski</span><span class="p">(</span><span class="kt">double</span><span class="w"> </span><span class="n">x</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="kt">long</span><span class="w"> </span><span class="n">p</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">x</span><span class="p">;</span>
<span class="w"> </span><span class="kt">long</span><span class="w"> </span><span class="n">q</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">r</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">p</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">s</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">m</span><span class="p">,</span><span class="w"> </span><span class="n">n</span><span class="p">;</span>
<span class="w"> </span><span class="kt">double</span><span class="w"> </span><span class="n">d</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">p</span><span class="p">;</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">x</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="n">p</span><span class="w"> </span><span class="o">||</span><span class="w"> </span><span class="p">(</span><span class="n">p</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="o">^</span><span class="w"> </span><span class="p">(</span><span class="n">r</span><span class="w"> </span><span class="o"><=</span><span class="w"> </span><span class="mi">0</span><span class="p">))</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">x</span><span class="p">;</span><span class="w"> </span><span class="cm">/* out of range ?(x) =~ x */</span>
<span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="nb">true</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="cm">/* invariants: q * r - p * s == 1 && p / q <= x && x < r / s */</span>
<span class="w"> </span><span class="n">d</span><span class="w"> </span><span class="o">/=</span><span class="w"> </span><span class="mi">2</span><span class="p">;</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">y</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">d</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n">y</span><span class="p">)</span>
<span class="w"> </span><span class="k">break</span><span class="p">;</span><span class="w"> </span><span class="cm">/* reached max possible precision */</span>
<span class="w"> </span><span class="n">m</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">p</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">r</span><span class="p">;</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">((</span><span class="n">m</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span><span class="w"> </span><span class="o">^</span><span class="w"> </span><span class="p">(</span><span class="n">p</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">))</span>
<span class="w"> </span><span class="k">break</span><span class="p">;</span><span class="w"> </span><span class="cm">/* sum overflowed */</span>
<span class="w"> </span><span class="n">n</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">q</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">s</span><span class="p">;</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">n</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span>
<span class="w"> </span><span class="k">break</span><span class="p">;</span><span class="w"> </span><span class="cm">/* sum overflowed */</span>
<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">x</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="p">(</span><span class="kt">double</span><span class="p">)</span><span class="n">m</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">r</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">m</span><span class="p">;</span>
<span class="w"> </span><span class="n">s</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">n</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">d</span><span class="p">;</span>
<span class="w"> </span><span class="n">p</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">m</span><span class="p">;</span>
<span class="w"> </span><span class="n">q</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">n</span><span class="p">;</span>
<span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">d</span><span class="p">;</span><span class="w"> </span><span class="cm">/* final round-off */</span>
<span class="p">}</span>
</pre></div>
<div class="mw-heading mw-heading2"><h2 id="Probability_distribution">Probability distribution</h2></div>
<p>Restricting the Minkowski question mark function to ?:[0,1] → [0,1], it can be used as the <a href="Cumulative_distribution_function" title="Cumulative distribution function">cumulative distribution function</a> of a <a href="Singular_distribution" title="Singular distribution">singular distribution</a> on the unit interval. This distribution is symmetric about its midpoint, with raw moments of about <i>m</i><sub>1</sub> = 0.5, <i>m</i><sub>2</sub> = 0.290926, <i>m</i><sub>3</sub> = 0.186389 and <i>m</i><sub>4</sub> = 0.126992,<sup id="cite_ref-FOOTNOTEAlkauskas2010_13-0" class="reference"><a href="#cite_note-FOOTNOTEAlkauskas2010-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> and so a mean and <a href="Median" title="Median">median</a> of 0.5, a <a href="Standard_deviation" title="Standard deviation">standard deviation</a> of about 0.2023, a <a href="Skewness" title="Skewness">skewness</a> of 0, and an excess kurtosis about −1.147.
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Cantor_function" title="Cantor function">Cantor function</a>, which can be understood as reinterpreting <a href="Ternary_numeral_system" title="Ternary numeral system">ternary numbers</a> as binary numbers, analogously to the way the question-mark function reinterprets continued fractions as binary numbers.</li>
<li><a href="Hermite's_problem" title="Hermite's problem">Hermite's problem</a>, to which one of the approaches uses generalization of Minkowski's question-mark function.<sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup></li>
<li><a href="Pompeiu_derivative" title="Pompeiu derivative">Pompeiu derivative</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Notes">Notes</h3></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist reflist-columns references-column-width" style="column-width: 30em;">
<ol class="references">
<li id="cite_note-FOOTNOTEMinkowski1904171–172-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEMinkowski1904171–172_1-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFMinkowski1904">Minkowski (1904)</a>, pp. 171–172.</span>
</li>
<li id="cite_note-FOOTNOTEDenjoy1938-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEDenjoy1938_2-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFDenjoy1938">Denjoy (1938)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEFinch2003441–442-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-FOOTNOTEFinch2003441–442_3-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-FOOTNOTEFinch2003441–442_3-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a href="#CITEREFFinch2003">Finch (2003)</a>, pp. 441–442.</span>
</li>
<li id="cite_note-FOOTNOTEPytheas_Fogg200295-4"><span class="mw-cite-backlink">^ <a href="#cite_ref-FOOTNOTEPytheas_Fogg200295_4-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-FOOTNOTEPytheas_Fogg200295_4-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a href="#CITEREFPytheas_Fogg2002">Pytheas Fogg (2002)</a>, p. 95.</span>
</li>
<li id="cite_note-FOOTNOTEKhinchin1997-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEKhinchin1997_5-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFKhinchin1997">Khinchin (1997)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEFinch2003442-6"><span class="mw-cite-backlink">^ <a href="#cite_ref-FOOTNOTEFinch2003442_6-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-FOOTNOTEFinch2003442_6-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a href="#CITEREFFinch2003">Finch (2003)</a>, p. 442.</span>
</li>
<li id="cite_note-FOOTNOTEDushistovaMoshchevitin2012-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEDushistovaMoshchevitin2012_7-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFDushistovaMoshchevitin2012">Dushistova & Moshchevitin (2012)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEGirgensohn1996-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEGirgensohn1996_8-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFGirgensohn1996">Girgensohn (1996)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEBhattacharjeeMacphersonMöllerNeumann1997-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEBhattacharjeeMacphersonMöllerNeumann1997_9-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFBhattacharjeeMacphersonMöllerNeumann1997">Bhattacharjee et al. (1997)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEMoshchevitin2020-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEMoshchevitin2020_10-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFMoshchevitin2020">Moshchevitin (2020)</a>.</span>
</li>
<li id="cite_note-FOOTNOTESalem1943-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTESalem1943_11-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFSalem1943">Salem (1943)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEJordanSahlsten2016-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEJordanSahlsten2016_12-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFJordanSahlsten2016">Jordan & Sahlsten (2016)</a>.</span>
</li>
<li id="cite_note-FOOTNOTEAlkauskas2010-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-FOOTNOTEAlkauskas2010_13-0">^</a></b></span> <span class="reference-text"><a href="#CITEREFAlkauskas2010">Alkauskas (2010)</a>.</span>
</li>
<li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFBeaverGarrity2004" class="citation cs2"><a href="Olga_Beaver" title="Olga Beaver">Beaver, Olga R.</a>; <a href="Thomas_A._Garrity" title="Thomas A. Garrity">Garrity, Thomas</a> (2004), "A two-dimensional Minkowski <span class="texhtml">?(<i>x</i>)</span> function", <i>Journal of Number Theory</i>, <b>107</b> (1): <span class="nowrap">105–</span>134, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/math/0210480">math/0210480</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1016%2Fj.jnt.2004.01.008">10.1016/j.jnt.2004.01.008</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2059953">2059953</a></cite></span>
</li>
</ol></div>
<div class="mw-heading mw-heading3"><h3 id="Historical_sources">Historical sources</h3></div>
<style data-mw-deduplicate="TemplateStyles:r1239549316">
/* start https://en.wikipedia.org/ */
.mw-parser-output .refbegin{margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}@media screen{.mw-parser-output .refbegin{font-size:90%}}
/* end https://en.wikipedia.org/ */
</style><div class="refbegin" style="">
<ul><li><cite id="CITEREFMinkowski1904" class="citation cs2"><a href="Hermann_Minkowski" title="Hermann Minkowski">Minkowski, Hermann</a> (1904), <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150104205306/http://ada00.math.uni-bielefeld.de/ICM/ICM1904/">"Zur Geometrie der Zahlen"</a>, <i>Verhandlungen des III. internationalen Mathematiker-Kongresses in Heidelberg</i>, pp. <span class="nowrap">164–</span>173, <a href="JFM_(identifier)" class="mw-redirect" title="JFM (identifier)">JFM</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:36.0281.01">36.0281.01</a>, archived from <a rel="nofollow" class="external text" href="http://ada00.math.uni-bielefeld.de/ICM/ICM1904/">the original</a> on 4 January 2015</cite></li>
<li><cite id="CITEREFDenjoy1938" class="citation cs2 cs1-prop-foreign-lang-source"><a href="Arnaud_Denjoy" title="Arnaud Denjoy">Denjoy, Arnaud</a> (1938), "Sur une fonction réelle de Minkowski", <i>J. Math. Pures Appl.</i>, Série IX (in French), <b>17</b>: <span class="nowrap">105–</span>151, <a href="Zbl_(identifier)" class="mw-redirect" title="Zbl (identifier)">Zbl</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:0018.34602">0018.34602</a></cite></li></ul>
</div>
<div class="mw-heading mw-heading3"><h3 id="Bibliography">Bibliography</h3></div>
<div class="refbegin refbegin-columns references-column-width" style="column-width: 30em">
<ul><li><cite id="CITEREFAlkauskas2010" class="citation cs2">Alkauskas, Giedrius (2010), "The moments of Minkowski question mark function: the dyadic period function", <i>Glasgow Mathematical Journal</i>, <b>52</b> (1): <span class="nowrap">41–</span>64, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0801.0051">0801.0051</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1017%2FS0017089509990152">10.1017/S0017089509990152</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2587817">2587817</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:115167042">115167042</a></cite></li>
<li><cite id="CITEREFBhattacharjeeMacphersonMöllerNeumann1997" class="citation cs2">Bhattacharjee, Meenaxi; Macpherson, Dugald; Möller, Rögnvaldur G.; <a href="Peter_M._Neumann" title="Peter M. Neumann">Neumann, Peter M.</a> (1997), "Rational numbers", <i>Notes on Infinite Permutation Groups</i>, Texts and Readings in Mathematics, vol. 12, Berlin: Springer-Verlag, pp. <span class="nowrap">77–</span>86, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2F978-93-80250-91-5_9">10.1007/978-93-80250-91-5_9</a>, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>81-85931-13-5</bdi>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1632579">1632579</a></cite></li>
<li><cite id="CITEREFDushistovaMoshchevitin2012" class="citation cs2">Dushistova, Anna A.; Moshchevitin, Nikolai G. (March 2012), "On the derivative of the Minkowski question mark function <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle ?(x)}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mo>?</mo>
<mo stretchy="false">(</mo>
<mi>x</mi>
<mo stretchy="false">)</mo>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle ?(x)}</annotation>
</semantics>
</math></span><img src="./d4a74bc67f24aab1e92eeb351c97210ab530811f.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.236ex; height:2.843ex;" alt="{\displaystyle ?(x)}" loading="lazy"></span>", <i>Journal of Mathematical Sciences</i>, <b>182</b> (4): <span class="nowrap">463–</span>471, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0706.2219">0706.2219</a></span>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs10958-012-0750-2">10.1007/s10958-012-0750-2</a>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=2825515">2825515</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:115156022">115156022</a></cite></li>
<li><cite id="CITEREFFinch2003" class="citation cs2">Finch, Steven R. (2003), <span class="id-lock-registration" title="Free registration required"><a rel="nofollow" class="external text" href="https://archive.org/details/mathematicalcons0000finc"><i>Mathematical constants</i></a></span>, Encyclopedia of Mathematics and Its Applications, vol. 94, <a href="Cambridge" title="Cambridge">Cambridge</a>: <a href="Cambridge_University_Press" title="Cambridge University Press">Cambridge University Press</a>, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-0-521-81805-6</bdi>, <a href="Zbl_(identifier)" class="mw-redirect" title="Zbl (identifier)">Zbl</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:1054.00001">1054.00001</a></cite></li>
<li><cite id="CITEREFGirgensohn1996" class="citation cs2">Girgensohn, Roland (1996), "Constructing singular functions via Farey fractions", <i><a href="Journal_of_Mathematical_Analysis_and_Applications" title="Journal of Mathematical Analysis and Applications">Journal of Mathematical Analysis and Applications</a></i>, <b>203</b> (1): <span class="nowrap">127–</span>141, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1006%2Fjmaa.1996.0370">10.1006/jmaa.1996.0370</a></span>, <a href="MR_(identifier)" class="mw-redirect" title="MR (identifier)">MR</a> <a rel="nofollow" class="external text" href="https://mathscinet.ams.org/mathscinet-getitem?mr=1412484">1412484</a></cite></li>
<li><cite id="CITEREFJordanSahlsten2016" class="citation cs2">Jordan, Thomas; Sahlsten, Tuomas (2016), "Fourier transforms of Gibbs measures for the Gauss map", <i><a href="Mathematische_Annalen" title="Mathematische Annalen">Mathematische Annalen</a></i>, <b>364</b> (<span class="nowrap">3–</span>4): <span class="nowrap">983–</span>1023, <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/1312.3619">1312.3619</a></span>, <a href="Bibcode_(identifier)" class="mw-redirect" title="Bibcode (identifier)">Bibcode</a>:<a rel="nofollow" class="external text" href="https://ui.adsabs.harvard.edu/abs/2013arXiv1312.3619J">2013arXiv1312.3619J</a>, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1007%2Fs00208-015-1241-9">10.1007/s00208-015-1241-9</a>, <a href="S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a> <a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:56046793">56046793</a></cite></li>
<li><cite id="CITEREFKhinchin1997" class="citation cs2"><a href="Aleksandr_Khinchin" title="Aleksandr Khinchin">Khinchin, A. Ya.</a> (1997) [Originally published in Russian, 1935], "10: Quadratic irrational numbers and periodic continued fractions", <i>Continued Fractions</i>, <a href="University_of_Chicago_Press" title="University of Chicago Press">University of Chicago Press</a>, pp. <span class="nowrap">47–</span>50, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>0-486-69630-8</bdi></cite>; reprinted by Dover Publications, 1997</li>
<li><cite id="CITEREFMoshchevitin2020" class="citation cs2 cs1-prop-interwiki-linked-name"><a href="https://ru.wikipedia.org/wiki/%D0%9C%D0%BE%D1%89%D0%B5%D0%B2%D0%B8%D1%82%D0%B8%D0%BD,_%D0%9D%D0%B8%D0%BA%D0%BE%D0%BB%D0%B0%D0%B9_%D0%93%D0%B5%D1%80%D0%BC%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%87" class="extiw external" title="ru:Мощевитин, Николай Германович">Moshchevitin, Nikolay</a> <span class="cs1-format">[in Russian]</span> (25 November 2020), "Open problems session", <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=ClkddCrWZus"><i>Diophantine Problems, Determinism and Randomness</i></a>, CIRM, 29:03 – via YouTube</cite></li>
<li><cite id="CITEREFPytheas_Fogg2002" class="citation cs2">Pytheas Fogg, N. (2002), <a href="Val%C3%A9rie_Berth%C3%A9" title="Valérie Berthé">Berthé, Valérie</a>; Ferenczi, Sébastien; Mauduit, Christian; Siegel, A. (eds.), <i>Substitutions in dynamics, arithmetics and combinatorics</i>, Lecture Notes in Mathematics, vol. 1794, Berlin: <a href="Springer-Verlag" class="mw-redirect" title="Springer-Verlag">Springer-Verlag</a>, <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a> <bdi>978-3-540-44141-0</bdi>, <a href="Zbl_(identifier)" class="mw-redirect" title="Zbl (identifier)">Zbl</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:1014.11015">1014.11015</a></cite></li>
<li><cite id="CITEREFSalem1943" class="citation cs2"><a href="Rapha%C3%ABl_Salem" title="Raphaël Salem">Salem, Raphaël</a> (1943), <a rel="nofollow" class="external text" href="https://www.ams.org/journals/tran/1943-053-03/S0002-9947-1943-0007929-6/S0002-9947-1943-0007929-6.pdf">"On some singular monotonic functions which are strictly increasing"</a> <span class="cs1-format">(PDF)</span>, <i><a href="Transactions_of_the_American_Mathematical_Society" title="Transactions of the American Mathematical Society">Transactions of the American Mathematical Society</a></i>, <b>53</b> (3): <span class="nowrap">427–</span>439, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.2307%2F1990210">10.2307/1990210</a></span>, <a href="JSTOR_(identifier)" class="mw-redirect" title="JSTOR (identifier)">JSTOR</a> <a rel="nofollow" class="external text" href="https://www.jstor.org/stable/1990210">1990210</a></cite></li></ul>
</div>
<div class="mw-heading mw-heading3"><h3 id="Further_reading">Further reading</h3></div>
<div class="refbegin refbegin-columns references-column-width" style="column-width: 30em">
<ul><li><cite id="CITEREFAlkauskas2008" class="citation cs2">Alkauskas, Giedrius (2008), <a rel="nofollow" class="external text" href="http://eprints.nottingham.ac.uk/10641/"><i>Integral transforms of the Minkowski question mark function</i></a>, PhD thesis, <a href="University_of_Nottingham" title="University of Nottingham">University of Nottingham</a></cite></li>
<li><cite id="CITEREFBibiloniParadisViader1998" class="citation cs2">Bibiloni, L.; Paradis, J.; Viader, P. (1998), <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150622194657/http://www.econ.upf.es/en/research/onepaper.php?id=226">"A new light on Minkowski's ?(x) function"</a>, <i>Journal of Number Theory</i>, <b>73</b> (2): <span class="nowrap">212–</span>227, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1006%2Fjnth.1998.2294">10.1006/jnth.1998.2294</a>, <a href="Hdl_(identifier)" class="mw-redirect" title="Hdl (identifier)">hdl</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://hdl.handle.net/10230%2F843">10230/843</a></span>, <a href="Zbl_(identifier)" class="mw-redirect" title="Zbl (identifier)">Zbl</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:0928.11006">0928.11006</a>, archived from <a rel="nofollow" class="external text" href="http://www.econ.upf.es/en/research/onepaper.php?id=226">the original</a> on 22 June 2015</cite></li>
<li><cite id="CITEREFBibiloniParadisViader2001" class="citation cs2">Bibiloni, L.; Paradis, J.; Viader, P. (2001), "The derivative of Minkowski's singular function", <i>Journal of Mathematical Analysis and Applications</i>, <b>253</b> (1): <span class="nowrap">107–</span>125, <a href="Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1006%2Fjmaa.2000.7064">10.1006/jmaa.2000.7064</a></span>, <a href="Zbl_(identifier)" class="mw-redirect" title="Zbl (identifier)">Zbl</a> <a rel="nofollow" class="external text" href="https://zbmath.org/?format=complete&q=an:0995.26005">0995.26005</a></cite></li>
<li><cite id="CITEREFConley2003" class="citation cs2">Conley, R. M. (2003), <i>A Survey of the Minkowski ?(x) Function</i>, Masters thesis, <a href="West_Virginia_University" title="West Virginia University">West Virginia University</a></cite></li>
<li><cite id="CITEREFConway2000" class="citation cs2"><a href="John_Horton_Conway" title="John Horton Conway">Conway, J. H.</a> (2000), "Contorted fractions", <i>On Numbers and Games</i> (2nd ed.), Wellesley, Mass.: A K Peters, pp. <span class="nowrap">82–</span>86</cite></li>
<li><cite id="CITEREFVepstas2004" class="citation cs2">Vepstas, L. (2004), <a rel="nofollow" class="external text" href="http://www.linas.org/math/chap-minkowski.pdf"><i>The Minkowski Question Mark and the Modular Group SL(2,Z)</i></a> <span class="cs1-format">(PDF)</span></cite></li>
<li><cite id="CITEREFVepstas2008" class="citation arxiv cs2">Vepstas, L. (2008), "On the Minkowski Measure", <a href="ArXiv_(identifier)" class="mw-redirect" title="ArXiv (identifier)">arXiv</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://arxiv.org/abs/0810.1265">0810.1265</a></span> [<a rel="nofollow" class="external text" href="https://arxiv.org/archive/math.DS">math.DS</a>]</cite></li></ul>
</div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><a rel="nofollow" class="external text" href="http://uosis.mif.vu.lt/~alkauskas/minkowski.htm">An extensive bibliography list</a></li>
<li><span class="citation mathworld" id="Reference-Mathworld-Minkowski's_Question_Mark_Function"><cite id="CITEREFWeisstein" class="citation web cs2"><a href="Eric_W._Weisstein" title="Eric W. Weisstein">Weisstein, Eric W.</a>, <a rel="nofollow" class="external text" href="https://mathworld.wolfram.com/MinkowskisQuestionMarkFunction.html">"Minkowski's Question Mark Function"</a>, <i><a href="MathWorld" title="MathWorld">MathWorld</a></i></cite></span></li>
<li><a rel="nofollow" class="external text" href="https://gist.github.com/pallas/5565556">Simple IEEE 754 implementation in C++</a></li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-08-05" href="https://en.wikipedia.org/wiki/?title=Minkowski's_question-mark_function&oldid=1304261765">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>